package com.jinly.ryder.common.error;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum SystemErrorType implements ErrorType {

    INTERNAL_SERVER_ERROR("500", "系统正忙，请稍后再试"),
    BAD_REQUEST("400", "错误的请求"),
    UNAUTHORIZED("401", "未登录"),
    FORBIDDEN("403", "没有权限"),
    NOT_FOUND("404", "不存在"),
    TOO_MANY_REQUESTS("429", "请求人数过多，请稍后再试"),

    ;
    private String errCode;
    private String errMsg;


}
